/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.integer.conf;

import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.context.annotation.Bean;
import za.ac.cput.integer.addition.Addition;
import za.ac.cput.integer.addition.Impl.AdditionImpl;

/**
 *
 * @author 210227257
 */
@Configurable
public class AppConfig {
    @Bean(name="integer")
    public Addition addition(){
        return new AdditionImpl();
    }
}
